<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link href="/css/layui.css" rel="stylesheet">
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${column.id}" type="hidden">

                        <div class="form-group">
                            <label class="col-sm-3 control-label">栏目名称：</label>
                            <div class="col-sm-8">
                                <input id="name" name="name" th:value="${column.name}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">栏目英文名称：</label>
                            <div class="col-sm-8">
                                <input id="enname" name="enname" th:value="${column.enname}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">排序：</label>
                            <div class="col-sm-8">
                                <input id="sort" name="sort" th:value="${column.sort}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">链接：</label>
                            <div class="col-sm-8">
                                <input id="url" name="url" th:value="${column.url}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">是否导航：</label>
                            <div class="col-sm-8">
                                <select class="form-control select2" lay-verify="required" lay-search="" id="isNav"
                                        name="isNav">
                                    <option  th:selected="${column.isNav eq 0}"   value="0">否</option>
                                    <option  th:selected="${column.isNav eq 1}"   value="1">是</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/webshow/column/edit.js">
</script>
<script>
    layui.use('form', function () {
    });
    <!--加载form模块-->
</script>

<script src="/js/layui.js"></script>
</body>
</html>
